package com.biostime.dingdingbox.modules.db.entity;

import com.biostime.dingdingbox.common.persistence.DataEntity;


/**
 * 玩具盒实体表Entity
 * @author chenweicheng
 * @version 2016-06-28
 */
public class BoxCode extends DataEntity<BoxCode> {

	private static final long serialVersionUID = 1L;	
	private String code;// 兑换码
	private int boxId;//魔法盒类型编号
	private Box box;//魔法盒类型
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	public BoxCode(){
		super();
	}
	
	public BoxCode(String id){
		super(id);
	}

	public int getBoxId() {
		return boxId;
	}

	public void setBoxId(int boxId) {
		this.boxId = boxId;
	}

	public Box getBox() {
		return box;
	}

	public void setBox(Box box) {
		this.box = box;
	}

}